package com.my.chapter7;

public class practice22 {
    public static void main(String[] args) {
        Dinosaur d = new Dinosaur();
        d.f();
        d.i=3;
        d.f();
    }
}

final class Dinosaur{
    int i = 6;
    void f(){
        System.out.println("Dinosaur"+i);
    }
}

//class Jurassic extends Dinosaur{}
